package com.javafamily.service;

import com.javafamily.bean.Pets;

import java.util.List;

// 业务层接口
public interface PetsService {
    boolean savePets(Pets pets);

    boolean removePetsById(int id);

    boolean modifyPets(Pets pets);

    Pets getPetsById(int id);

    List<Pets> listAllPets();
}
